﻿@model IEnumerable<ClassifiedAds.Services.Product.Entities.Product>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Practical.CleanArchitecture</title>
    <style type="text/css">

        thead {
            display: table-header-group;
        }

        tfoot {
            display: table-row-group;
        }

        tr {
            page-break-inside: avoid;
        }

        .img {
            background-image: url('');
            background-repeat: repeat-y;
        }
    </style>
</head>
<body>
    <div class="img">
        <table class="rows">
            <thead style="background-color: #fbf3f3;">
                <tr>
                    <th>Product</th>
                    <th>Code</th>
                    <th>Description</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var product in Model)
                {
                    <tr>
                        <td>@product.Name</td>
                        <td>@product.Code</td>
                        <td>@product.Description</td>
                    </tr>
                }
            </tbody>
        </table>
    </div>
</body>
</html>
